home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / vbcc-68k-src / machines / amiga68k / include / errno.h < prev    next >
C/C++ Source or Header  |  1999-01-01  |  2KB  |  44 lines

  1. #ifndef __ERRNO_H
  2. #define __ERRNO_H 1
  3.  
  4. extern  int             errno;
  5.  
  6. #define E_OK            0            /* no error */
  7. #define ERROR           1            /* general error */
  8. #define ENOENT          2            /* No such file or directory */
  9. #define ESRCH           3            /* No such process */
  10. #define EINTR           4            /* Interrrupted system call */
  11. #define EIO             5            /* I/O error */
  12. #define ENXIO           6            /* No such device or address */
  13. #define E2BIG           7            /* Arg list is too long */
  14. #define ENOEXEC         8            /* Exec format error */
  15. #define EBADF           9            /* Bad file number */
  16. #define ECHILD          10           /* No child process */
  17. #define EAGAIN          11           /* No more processes allowed */
  18. #define ENOMEM          12           /* No memory available */
  19. #define EACCES          13           /* Access denied */
  20. #define EFAULT          14           /* Badd address */
  21. #define ENOTBLK         15           /* Bulk device required */
  22. #define EBUSY           16           /* Resource is busy */
  23. #define EEXIST          17           /* File already exists */
  24. #define EXDEV           18           /* Cross-device link */
  25. #define ENODEV          19           /* No such device */
  26. #define ENOTDIR         20           /* Is not a directory */
  27. #define EISDIR          21           /* Is a directory */
  28. #define EINVAL          22           /* Invalid argument */
  29. #define ENFILE          23           /* No more files (system */
  30. #define EMFILE          24           /* No more files (process */
  31. #define ENOTTY          25           /* Not a terminal */
  32. #define ETXTBSY         26           /* Text file is busy */
  33. #define EFBIG           27           /* File is too large */
  34. #define ENOSPC          28           /* No space left */
  35. #define ESPIPE          29           /* Seek issued to pipe */
  36. #define EROFS           30           /* Read-only file system */
  37. #define EMLINK          31           /* Too many links */
  38. #define EPIPE           32           /* Broken pipe */
  39. #define EDOM            33           /* Math function argument error */
  40. #define ERANGE          34           /* Math function result is out of
  41.                                            range */
  42.  
  43. #endif
  44.